import {
    request
} from '../utils/request.js'
//首页轮播
export const apiGetBanner = () => {
    return request({
        url: 'https://tea.qingnian8.com/api/bizhi/homeBanner'
    })
}

//每日推荐
export const apiGetDayRandom = () => {
    return request({
        url: 'https://tea.qingnian8.com/api/bizhi/randomWall'
    })
}

//公告
export const apiNoticeList = (data) => {
    return request({
        url: 'https://tea.qingnian8.com/api/bizhi/wallNewsList',
        data,
    })
}

//专题精选
export const apiGetClsaaify = (data) => {
    return request({
        url: 'https://tea.qingnian8.com/api/bizhi/classify',
        data
        
    })
}

//分类列表
    
export const apiGetClsaaifyList=(data)=>{
    return request({
        url: 'https://tea.qingnian8.com/api/bizhi/wallList',
        data
        
    })
}

//评分
    
export const apiGetSetupScore=(data)=>{
    return request({
        url: 'https://tea.qingnian8.com/api/bizhi/setupScore',
        data
        
    })
}

//下载

export const apiWriteDownload=(data)=>{
    return request({
        url: 'https://tea.qingnian8.com/api/bizhi/downloadWall',
        data
        
    })
}

//用户个人信息

export const apiGetUserInfo=(data)=>{
    return request({
        url: 'https://tea.qingnian8.com/api/bizhi/userInfo',
        data
        
    })
}

//评分和下载
export const apiGetHisyoryList=(data)=>{
    return request({
        url: 'https://tea.qingnian8.com/api/bizhi/userWallList',
        data
        
    })
}

//搜索

export const apiSearch=(data)=>{
    return request({
        url: 'https://tea.qingnian8.com/api/bizhi/searchWall',
        data
        
    })
}